//
// Created by zhouh on 2025/8/19.
//

#ifndef SIX_STEP_BEMF_H
#define SIX_STEP_BEMF_H

typedef enum
{
    sector_1 = 0,
    sector_2,
    sector_3,
    sector_4,
    sector_5,
    sector_6
} sector_t;

// 对外函数
extern sector_t position_judgment(unsigned short bemf_a, unsigned short bemf_b,
                                  unsigned short bemf_c, unsigned short bemf_n);

#endif //SIX_STEP_BEMF_H